<!--
 * @Description: 没有数据ui组件
 * @Version: 2.0
 * @Autor: Seven
 * @Date: 2020-12-21 16:22:20
 * @LastEditors: Seven
 * @LastEditTime: 2020-12-21 16:31:55
-->
<template>
    <div class="wrap">
        <img src="/images/nodata.png" alt="">
        <div class="info">{{text}}</div>
    </div>
</template>
<script>
export default {
    props:{
        text:{
            type:String,
            default:'暂无数据哦~'
        }
    }
}
</script>
<style lang="scss" scoped>
.wrap{
    text-align: center;
    padding: 120px 0;
    .info{
        font-size: 14px;
        color: #999999;
        margin-top: 20px;
    }
}
</style>